package com.study.dao;

import com.study.entity.system.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 用户
 * @Author wfw
 * @Date 2020/07/13 13:38
 */
public interface UserDao extends JpaRepository<User,String>, JpaSpecificationExecutor<User> {
    /**
     * 根据手机号查询
     */
    User findByMobile(String mobile);
}
